/* jshint indent: 1 */

module.exports = function(sequelize, DataTypes) {
	return sequelize.define('temp_statics_org', {
		org_id: {
			type: DataTypes.STRING(16),
			allowNull: false,
			primaryKey: true
		},
		is_statistics: {
			type: DataTypes.BOOLEAN,
			allowNull: true,
			defaultValue: '0'
		},
		module: {
			type: DataTypes.STRING(100),
			allowNull: false,
			primaryKey: true
		}
	}, {
		tableName: 'temp_statics_org',
		timestamps: false,
		freezeTableName: true
	});
};
